package com.sino.timer;

public class Main {

    public static void main(String[] args) {
    	System.out.println("start\t =========================" );
    	
    	
        Timer timer = new Timer(1000, 60);
        timer.addTask(new TimerTask(6000, () -> {
            System.out.println("task\t" + "测试任务执行");
        }));
        System.out.println("stop\t=========================" );
    	
    }
}
